//
//  ChatCell.h
//  AILove
//
//  Created by Ace Portgas on 2023/12/28.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class ChatFrame,ChatCell;
@protocol ChatCellDelegate <NSObject>

-(void)playVoiceWithUrl:(NSString *)url andCell:(ChatCell *)cell;

@end
@interface ChatCell : UITableViewCell
@property (nonatomic,strong) ChatFrame * frameModel;
@property (nonatomic,strong) NSString * cover;
@property (weak,nonatomic) id<ChatCellDelegate> delegate;
@property (strong,nonatomic) UIButton * voice;
-(void)playVoice;
@end

NS_ASSUME_NONNULL_END
